package com.xhm.spring.dao;

import com.xhm.spring.model.User;

import java.util.List;

/**
 * Created by coolxu on 2017/11/7...
 */
public interface IUserDao {
	public void add(User user);

	public void update(User user);

	public void delete(int id);

	public User load(int id);

	public List<User> list();
}